Having visualized geodesics on surfaces and in space in previous presentations, it is high time to explore the gravitational field of a black hole. While this has been done before, generally for restricted cases on dead paper, the topic will benefit from the possibilities of live interactive visualization.

Begin with the Schwarzschild metric, which with the simplification c=G=1 has the form

ds2 =(1 -2Mr) dt2 -(1 -2Mr )−1 dr2 -r2dθ2 -r2sin2θ dφ2

This can be incorporated into a Lagrangian,

L=12 (ds dτ )2 =12[ (1 -2Mr) t·2 -(1 -2Mr )−1 r·2 -r2 θ·2 -r2 sin2θ φ·2 ]

from which one can evaluate geodesic equations using the Lagrange equations

dds ∂L ∂q· i =∂L ∂qi

The explicit equations are

dds [(1 -2Mr ) t·] =0   dds [(1 -2Mr )−1 r·] =−Mr2 t·2 -Mr2 (1-2Mr )−2 r·2 +r θ·2 +r sin2θ φ·2   dds (r2 θ·) =r2 sinθcosθ φ·2 dds (r2 sin2θ φ·) =0

As with the previous presentations, one can expand these equations into second-order forms suitable for numerical integration,

t·· =−2M r2 (1 -2Mr )−1 t· r· r·· =−Mr2 (1 -2Mr ) t·2 +Mr2 (1 -2Mr )−1 r·2 +(1 -2Mr ) (r θ·2 +r sin2θ φ·2 ) θ·· =−2r r· θ· +sinθcosθ φ·2 φ·· =−2r r· φ· -2cotθ θ· φ·

but since some of these equations are trivial to integrate, while at the same time providing physical context for initial conditions, it is appropriate to consider solutions that reduce the order of numerical integration.

The first equation allows one to introduce a constant of the motion, which being cognate to the temporal variable is an energy for the geodesic:

(1 -2Mr ) t· =E → t· =E (1 -2Mr )−1

Likewise the fourth equation alows the introduction of a second constant corresponding to a partial angular momentum for the geodesic:

r2 sin2θ φ· =Lz → φ· =Lz r2 sin2θ

Inserting this result into the third equation and then applying an integrating factor of r2 θ· , one has

dds (r2 θ·) =Lz2 r2 cosθ sin3θ   dds [(r2 θ· )2 +Lz2 sin2θ ] =0   (r2 θ· )2 +Lz2 sin2θ =L2 → θ· =1r2 L2 -Lz2 sin2θ

where now a constant corresponding to total angular momentum for the geodesic appears.

These last two constants, as well as the differential equations that give rise to them, are identical in form to those appearing in the context of angular momentum in spherical coordinates. That means one can immediately write a conserved vector for motion in the presence of the black hole

L =r2 (θ· φ^ -φ· sinθ θ^ )

that defines an invariant plane for geodesics with the given constants. This behavior is precisely that of the classical two-body Kepler problem due to the spherical symmetry of the system. This is also why most presentations of these geodesics use the restriction θ =π2 to simplify equations, but this is clearly not necessary. It is also inconvenient when visualizing geodesics in three dimensions: one wants to see the full behavior for various initial conditions.

The three first-order equations above can now be used to simplify the remaining Lagrange equation:

dds [(1 -2Mr )−1 r·] =−Mr2 (1 -2Mr )−2 E2 -Mr2 (1 -2Mr )−2 r·2 +L2 r3 (1 -2Mr )−1/2 dds [(1 -2Mr )−1/2 r·] =−Mr2 (1 -2Mr )−2 E2 +L2 r3 dds [(1 -2Mr )−1 r·2 ] =dds [(1 -2Mr )−1 E2 -L2 r2]

using an integrating factor of 2r· in the last step. There is now an additional constant of the motion,

(1 -2Mr )−1 E2 -(1 -2Mr )−1 r·2 -L2 r2 =C

which is proportional to the value of the Lagrangian and determines the nature of the geodesics. The constancy of the Lagrangian is to be expected, since having no ‘potential energy’ term it will be equal to the corresponding Hamiltonian, which is by definition constant.

Since this new constant is proportional to the original metric, the geodesics are time-like, null or space-like depending on whether C>0 , C=0 or C<0 . Adjusting the parametrization of the interval, this constant can be reduced to the values C=±1 and C=0 .

In retrospect it is clearly true that the interval itself always provides a constant of the motion. For some reason this simple fact is generally not emphasized in textbooks...

The radial geodesic equation can now be written

r· =E2 -(1 -2Mr ) (L2 r2 +C)

The entire set of equations has been reduced in principle to a first-order system. In practice this is not entirely useful, since the presence of square roots will introduce branch cuts and hence spurious singularities into the solutions, creating difficulties in numerical integration. This is clearly to be avoided.

Combining all of these separate results, the system of equations to be integrated is

t· =E (1 -2Mr )−1 r·· =−MC r2 +L2 r3 -3ML2 r4 θ·· =−2r r· θ· +Lz2 r4 cosθ sin3θ φ· =Lz r2 sin2θ

Note that with the introduction of the energy constant the explicit temporal variable falls out of the right-hand sides of equations. This variable, as a function of the parameter of interval along the geodesic, basically just reparametrizes motion along the geodesic. This behavior will only appear when visualizing geodesic motion temporally.

The parameter of interval and the temporal variable will both be naturally assumed to start at zero when evaluating geodesics numerically.

For other dynamic variables, it is desirable to specify a starting location in space of particular interest, just as one would for classical planetary orbits. Since the motion occurs in an invariant plane, one is tempted to infer the inclination of this plane to the xy-plane from θ0 , set θ·0 =0 at a turning point, and determine the partial angular momentum Lz accordingly. This is a mistake, since it misses a large number of possible orbit orientations beyond those selected this way.

An arbitrary initial angle θ for the geodesic does not uniquely determine the inclination of the angular momentum vector to the z-axis, since the vector is free to rotate in space about the initial radial vector. The partial angular momement Lz will have a simple relation to the angle θ at some point on the orbit, but not neccesarily the chosen initial point.

The correct procedure is to remember the full expression for the variation of this angular variable, namely

θ· =±1r2 L2 -Lz2 sin2θ

The partial angular momentum must be left here as a free parameter, subject to the constraint of keeping this expression real.

The value of φ0 then allows rotation of the tilted invariant plane around the z-axis.

That just leaves initial conditions for the radial variable to be determined. As a consequence of the introduction of the remaining constants of the motion, the radial equation depends only on one variable. It is also quite interesting that this equation is no longer nonlinear for the same reason, now bearing a distinct similarity to classical motion. This does not get mentioned in textbooks...

Indeed, starting from a classical Kepler Hamiltonian with unit mass and deliberately mixed dynamic variables,

H=12 r·2 +L2 2r2 -Mr

the corresponding radial equation of motion is

r·· =-Mr2 +L2 r3

For time-like geodesics, which are the ones physically realizable for massive bodies, the right-hand side of the general relativistic radial equation begins with precisely these two terms, then adds an inverse quartic correction. That means the general relativistic radial potential for time-like geodesics is

VGR(r) =-Mr +L2 2r2 -ML2 r3

In order to have geodesics that circle the black hole, there must be a potential well just as for the classical case. Taking a derivative of the general relativistic potential, its extrema are located at

VGR′ =0 → rext =L2 2M (1±1 -12M2 L2)

In order for these extrema to remain real, the squared angular momentum must have the critical lower limit

Lc2 ≥12M2

Geodesics with squared angular momentum less than this value will decay into the singularity.

The value of the radial variable at the lower limit of the squared angular momentum is rc =6M . As the squared angular momentum increases one can expand the squared root term for the approximations

rext+ ≈L2 2M -3M -9M3 L2 rext− ≈3M +9M3 L2

The first term in the left-hand approximation is the result for classical Kepler orbits, providing circular orbits of arbitrary large radius both classically and general relativistically.

As the squared angular momentum grows without limit, only one extremum remains finite at r∞ =3M . Mathematically this is the same value as the single extremum for null geodesics, but curious all the same.

It will be useful to know the value of the general relativistic potential at the radial extrema. Rationalizing the value

1rext =16M (1∓1 -12M2 L2)

and performing a bit of algebra gives

VGR (rext) =−16 +L2 108M2 ±(19 -L2 108M2 ) 1 -12M2 L2

A simple trick to help in this evalution is to use the intermediate substitution x=M2/ L2 while remembering that it is a combination of squares of dynamic variables...

For motion that starts at a stationary radial position, the linear radial equation provides a relation between squared energy and other quantities:

r·0 =0 → E2 =(1 -2M r0 ) (L2 r02 +1) =1 +2VGR (r0)

This general relativistic energy condition differs from that expected for a classical potential energy, but holds in this form nonetheless, and uniquely determines the arbitrary additive constant inherent in all potentials.

At the lower limit of squared angular momentum, the general relativistic potential and squared energy have the critical values

VGR (rc) =−118 Ec2 =1 +2VGR (rc) =89

which provides an absolute lower limit on energy for bound geodesics. An absolute upper limit is found by noting that VGR (r) →0 as r→∞ . In order for two turning points to be possible, the absolute maximum value of energy for bound geodesics is clearly unity.

For particular geodesics, the possible values of squared energy vary between the values at the two extrema, which are

E2 (rext) =23 +L2 54M2 ±(29 -L2 54M2 ) 1 -12M2 L2

Following the expression for the lower limit of squared angular momentum, if this quantity is always denumerated proportional to squared gravitational mass, L2 =αM2 , then the practical limits for squared energy are

E2 (rext) =154 (36+α ∓(α-12 )3α )

For the lower limit L2 =12M2 of squared angular momentum, this result is consistent with that above. With a bit of algebra, or just playing with numbers, the value for the lower sign here, corresponding to the smaller radial extremum, is unity when L2 =16M2 . For larger angular momentum the value of squared energy remains capped by its absolute maximum of unity as stated above.

The constant M of course remains a free variables, setting the arena in which motion occurs, which is independent of particular geodesic motion. In practice the interactive graphics to follow are highly sensitive to the value of this variable, so it will be taken equal to one, M=1 , for simplicity of numerical evaluation and presentation.

All of these radial relationships can be summarized in a simple visualization of the general relativistic energy condition:

When visualizing radial motion it will make the most sense to start from the outer turning point and integrate inwards. This will ensure a connection to classical orbits, which exist for any initial radial value. The general relativistic geodesics do have the critical lower limit of rc =6M : this is a consequence of the presence of a black hole rather than just the Newtonian singularity.

The interactive radial motion is

While bound orbits exist in principle for any initial radial position larger than rc =6M , in practice the potential well becomes extremely flat for large values of this variable. Since this makes it difficult to provide a stable visualization in this region, and because the associated long periods are rather uninteresting, the upper extent of the radial variable is here capped at r0=100 . At the lower end of its range the displayed value may differ slightly from that actually used in the evaluation in order to ensure the circular orbit at the minimum of the energy potential.

This behavior is now extended to three dimensions straighforwardly:

Given that the geodesics are generally not closed, while one could present multiple geodesics simultaneously, as was done in the presentations mentioned at the outset, this would get confusing rather quickly. Instead of doing that, note some variations in initial parameters that produce various sets of related geodesics.

Geodesics are rotated about the z-axis by adjusting φ0 , as previously noted. They are rotated about the apastron, the initial point furthest from the black hole, by decreasing the partial angular momentum Lz from its maximum value for the given initial angle. They can be rotated about the periastron, the point of closest approach to the black hole, by varying θ0 while keeping the partial angular momentum at its maximum for that initial angle.

Having spatial visualizations of geodesics, one can easily show temporal variations along the vertical axis. Given that there is an extra spatial coordinate, a projection of some sort must be employed. The simplest is an orthographic projection in which the z-coordinate is ignored:

Since this interactive graphic retains all of the inputs from the previous graphic, one can in principle manipulate it to display temporal evolution in any desired invariant plane from any angle.

Possible additions for the future include animations of geodesic motion, which would require updates to the visualization library.

This presentation continues with the Kerr metric here.


Uploaded 2026.10.12 analyticphysics.com